package cn.iocoder.yudao.module.shop.api.appointment;

import cn.iocoder.yudao.module.shop.api.appointment.dto.AppointmentCancelReqDTO;
import cn.iocoder.yudao.module.shop.api.appointment.dto.AppointmentCreateReqDTO;

import javax.validation.Valid;

public interface AppointmentApi {

    Long createAppointment(@Valid AppointmentCreateReqDTO createReqDTO);

    Boolean cancelAppointment(@Valid AppointmentCancelReqDTO cancelReqDTO);
}
